import http from '@/utils/http'
 export const categoryAPI = (id)=>{
    return http({
        url: '/category',
        params: {
            id
        }
    })
}
export const getCategoryFilterAPI = (id) => {
    return http({
        url: '/category/sub/filter',
        params: {
            id
        }
    })
}
export const getSubCategoryAPI = (data) => {
    return http({
        url: '/category/goods/temporary',
        method: 'POST',
        data
    })
}

 